<%-- 
    Document   : monCompte
    Created on : May 16, 2012, 8:29:56 PM
    Author     : Marcouss
--%>


<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!-- Ne pas oublier cette ligne sinon tous les tags de la JSTL seront ignorés !! -->  
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>  
  
<html>
    <head>
        <link rel="stylesheet" type="text/css" media="all" href="style2.css"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Vente de DVD en ligne</title> 
    </head>
    
    <body>
        <div id="Global">
            <jsp:include page="header.jsp" />
            <div id="body">
                <jsp:include page="leftBar.jsp"/>
                
            <div id="centerBody">
                <h5>Mes infos</h5> 
                <c:forEach var="u" items="${requestScope['mesInfos']}">             
                    <form action="ServletUsers" method="get">  
                        <label for="nom">Nom :</label><input type="text" name="nom" id="nom" value="${u.lastname}"/><br>  
                        <label for="prenom">Prénom :</label> <input type="text" name="prenom" id="prenom" value="${u.firstname}"/><br>  
                        <label for="log">Login :</label> <input type="text" name="login" disabled="disabled" id="login" value="${u.login}"/><br>
                        <label for="mail">Mail :</label><input type="text" name="mail" id="mail" value="${u.mail}"/><br>
                        <input type="hidden" name="action" value="updateInfo"/>  
                        <input type="submit" value="Update" name="submit"/>  
                    </form>
               </c:forEach>
            </div>
                
            <jsp:include page="rightBar.jsp" />
            
            </div>
          <jsp:include page="footer.jsp" />